@use '../../shared/styles/viewer-shared.scss';

// Log-specific overrides and additions
.log-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  
  .auto-scroll-toggle {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;

    ::ng-deep .p-toggleswitch {
      display: block;
    }
  }
}

// Log-specific category styling
.item-category {
  background-color: var(--surface-hover);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-color-secondary);
  width: 5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  
  @media (max-width: 768px) {
    margin-bottom: 0.5rem;
    max-width: 100%;
    width: 100%;
    text-align: left;
  }
}

// Log exception styling
.item-exception {
  pre {
    margin: 0;
    padding: 0.75rem;
    background-color: var(--surface-section);
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    color: var(--red-700);
    white-space: pre-wrap;
  }
}